﻿<%@ Page Title="Manage Album" Language="C#" MasterPageFile="~/HNAlbum.Master" AutoEventWireup="true"
    CodeBehind="ManageAlbum.aspx.cs" Inherits="HNAlbum.ManageAlbum" ValidateRequest="false" %>

<asp:Content ID="cntManageAlbum" ContentPlaceHolderID="cphMasterBody" runat="server">
    <asp:Panel ID="pnlManageOption" runat="server">
        <div id="manage_album_option">
            <div id="create_button" class="optionButton" style="float: left">
                Create a<br />
                new Album
            </div>
            <div id="edit_button" class="optionButton" style="float: right">
                Edit current<br />
                Album
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlCreateAlbum" runat="server">
        <div id="create_new_album" class="picturePane">
            <div id="create_new_album_content">
                <div class="title">
                    Create a new Album
                    <div class="button">
                        <asp:Button ID="btnBackFromNew" runat="server" Text="Back" Width="60" OnClick="gotoManageOption" />
                    </div>
                </div>
                <div class="content">
                    <div class="tableRow">
                        Name:
                        <asp:Label ID="lblTitleR" runat="server" CssClass="requiredText">(Required)</asp:Label>
                    </div>
                    <div class="tableRow">
                        <asp:TextBox ID="txtCreateAlbumName" runat="server" Width="530" ClientIDMode="Static" />
                    </div>
                    <div class="tableRow">
                        Description:
                    </div>
                    <div class="tableRow">
                        <asp:TextBox ID="txtDescription" runat="server" Width="530" TextMode="MultiLine"
                            Rows="2" />
                    </div>
                    <div class="tableRow">
                        Upload photo(s):
                        <asp:Label ID="lblPhotoR" runat="server" CssClass="requiredText">(Required - Maximum size per photo: 5 MB)</asp:Label>
                    </div>
                    <div id="uploader">
                        <div style="width: 100%; text-align: center;">
                            <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.60310.0" style="text-decoration: none;">
                                <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight"
                                    style="border-style: none" />
                            </a>
                        </div>
                    </div>
                    <div class="tableRow">
                        <asp:CheckBox ID="chkDefaultCaption" runat="server" Text="Default caption(s)" Checked="true" /><asp:Label
                            ID="lblDefaulCaptionHint" runat="server" CssClass="requiredText">(Click on a photo to change the caption before uploading)</asp:Label>
                    </div>
                    <div class="tableRow" style="width: 100%; text-align: center">
                        <asp:Button ID="btnCreateNewAlbum" runat="server" Text="Create Album" Width="200"
                            ClientIDMode="Static" OnClick="btnCreateNewAlbum_Click" />
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlEditAlbum" runat="server">
        <div id="edit_current_album" class="picturePane">
            <div class="title">
                Edit current Album
                <div class="button">
                    <asp:Button ID="btnBackFromEdit" runat="server" Text="Back" Width="60" OnClick="gotoManageOption" />
                </div>
            </div>
            <div class="content">
                This is where you edit old albums
            </div>
        </div>
    </asp:Panel>
</asp:Content>
